package org.scboy.dbms.api.entity;

import java.io.Serializable;

/**
 * SQL配置类
 */
public class SqlConfig implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * 唯一ID
	 */
	private String id;

	/**
	 * SQLID
	 */
	private String sqlId;
	
	/**
	 * 配置名称
	 */
	private String name;
	
	/**
	 * 配置备注
	 */
	private String note;

	/**
	 * 服务名称
	 */
	private String serverName;

	/**
	 * 激活的版本号
	 */
	private int activeVersion;
	
	/**
	 * SQL配置信息
	 */
	private SQLEntity sqlEntity=new SQLEntity();

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getSqlId() {
		return sqlId;
	}

	public void setSqlId(String sqlId) {
		this.sqlId = sqlId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getNote() {
		return note;
	}

	public void setNote(String note) {
		this.note = note;
	}

	public String getServerName() {
		return serverName;
	}

	public void setServerName(String serverName) {
		this.serverName = serverName;
	}

	public int getActiveVersion() {
		return activeVersion;
	}

	public void setActiveVersion(int activeVersion) {
		this.activeVersion = activeVersion;
	}

	public SQLEntity getSqlEntity() {
		return sqlEntity;
	}

	public void setSqlEntity(SQLEntity sqlEntity) {
		this.sqlEntity = sqlEntity;
	}
	
}
